#pragma once
#include"Shape.h"

class Line :public virtual Shape
{

protected:
	float x1; float y1;
	float x2; float y2;

public:
	friend std::ostream& operator<<(std::ostream& os, const Line* dt)
	{
		os << "Line (" << dt->x1 << " , " << dt->y1 << ")  (" << dt->x2 << " , " << dt->y2 << ")";
		return os;
	};
	void moveShape(float new_x, float new_y);
	void rotateShape(float angle);
	void zoomShape(float zoom);

	void debugPrint();

	Line(float X1, float Y1, float X2, float Y2);
	~Line();
};

